package com.examination.framework.exception;

import com.examination.framework.model.response.ResultCode;

/**
 * @author 寇淇芮
 * @Date 2019/8/22 22:16
 */
public class ExceptionCast {
    /**
     * 抛出异常
     * @param resultCode
     */
    public static void cast(ResultCode resultCode){
        throw new CustomException(resultCode);
    }
}
